<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>所有用户</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <body>
  <table border="1" width="100%">
  <tr>
  <td align="center">用户Id</td>
  <td align="center">用户账号</td>
  <td align="center">查看详情</td>
  <td align="center">删除</td>
  </tr>
 <s:iterator value="allUser">
<tr>
<td align="center"><s:property value="userId" /></td>
<td align="center"><s:property value="accountName" /></td>
<td align="center"><a href="<s:url action="UserShow" >
    <s:param name="userId"><s:property value="userId" /></s:param>
   </s:url>">查看详情</a></td>
<td align="center"><a href="<s:url action="DeleteUser" >
    <s:param name="userId"><s:property value="userId" /></s:param>
   </s:url>">删除</a></td>
</tr>



</s:iterator>

 </table>
  </body>
</html>
